﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DelegateAutihority.aspx.cs" Inherits="LogicUniversitySS.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%--<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AssignDepartmentRepresentative.aspx.cs" Inherits="LogicUniversitySS.Dep_Head.AssignDepartmentRepresentative" ---%> %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    
    <style type="text/css">
        .style1
        {
            width: 127px;
        }
        .style3
        {
            width: 118px;
        }
        .style4
        {
            width: 125px;
        }
        .style5
        {
            width: 363px;
        }
        </style>
</head>
<body>
  
    <div>
    <center><b><u>Delegate Authority</u></b></center>
    <br />
    <table>
    <tr>
    <td class="style4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; </td>
    <td>Current Representative&nbsp;</td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label2" runat="server"></asp:Label>
        &nbsp;</td>
    </tr>
    <tr>
    <td class="style4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
    <td>Current Collection Point&nbsp;</td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:Label ID="lblCollectionPoint" runat="server"></asp:Label>
        &nbsp;</td>
    </tr>
    <tr>
     <td class="style4">&nbsp;&nbsp;&nbsp;</td>
    <td>New Collection Point</td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:DropDownList 
            ID="ddNewCollectionPoint" runat="server" 
            Width="110px" DataSourceID="CollectionPointDataSource" 
            DataTextField="Place" DataValueField="CollectionId">
        </asp:DropDownList>
        <asp:SqlDataSource ID="CollectionPointDataSource" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SSISConnectionString %>" 
            SelectCommand="SELECT [CollectionId], [Place] FROM [CollectionPoint]">
        </asp:SqlDataSource>
        </td>
    </tr>
    <tr>
     <td class="style4">&nbsp;&nbsp;&nbsp;</td>
    <td>From Date</td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
            BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
            Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
            Width="200px">
            <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
            <NextPrevStyle VerticalAlign="Bottom" />
            <OtherMonthDayStyle ForeColor="#808080" />
            <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
            <SelectorStyle BackColor="#CCCCCC" />
            <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
            <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
            <WeekendDayStyle BackColor="#FFFFCC" />
        </asp:Calendar>
        </td>
    </tr>
    <tr>
     <td class="style4">&nbsp;&nbsp;&nbsp;</td>
    <td>To Date</td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
    </tr>
    </table>   
    
    <br />
    <table>
    <tr>
    <td class="style1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </td>
    <td><asp:Label ID="Label1" runat="server" Text="Employee"></asp:Label>
        </td>
    <td>
        <asp:TextBox ID="txtEmployee" runat="server"></asp:TextBox>
        &nbsp;&nbsp;</td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;</td>
    <td>&nbsp;<asp:Button ID="btnSearch" runat="server" Text="Search" />
        &nbsp;</td>
    </tr>
    </table>
    <table>
    <tr>    
    <td class="style3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
    <td class="style8">&nbsp;</td>
    <td class="style5">
    <asp:gridview id="GV" runat="server" autogeneratecolumns="False" 
        EnableModelValidation="True" 
        onselectedindexchanged="GV_SelectedIndexChanged" Width="365px" CellPadding="4" 
        ForeColor="#333333" GridLines="None" Height="203px">        
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
     <columns>
     <asp:boundfield datafield="Sl No" headertext="Sl No" />                 
     <asp:boundfield datafield="Employee Name" HeaderText="Employee Name" />                 
     <asp:boundfield datafield="Employee ID" HeaderText="Employee ID" />              
     <asp:TemplateField HeaderText="Assign">
        <ItemTemplate>
            <asp:RadioButton ID="rbCollected" runat="server" 
                     GroupName="Status" Text='' />
                     
        </ItemTemplate>
      </asp:TemplateField>     
     </columns>  
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
     </asp:gridview> 
     </td>
     </tr> 
     </table>
     <br />
     <table>
     <tr>
     <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
     <td>
         <asp:Button ID="btnChange" runat="server" onclick="Button1_Click" Text="Change" 
             Width="81px" />
         &nbsp;&nbsp;</td>
         <td>
         <asp:Button ID="btnCancel" runat="server" onclick="Button1_Click" Text="Cancel" 
             Width="81px" />
         </td>
     </tr>
     </table>
    </div>

</body>
</html>
</asp:Content>
